<template>
  <a-breadcrumb>
    <template v-for="routeItem in route">
      <a-breadcrumb-item :key="routeItem.name">
        <a>{{ routeItem.meta.title }}</a>
      </a-breadcrumb-item>
    </template>
  </a-breadcrumb>
</template>

<script>
export default {
  props: {},
  data() {
    return {}
  },
  mounted() {},
  computed: {
    route() {
      return this.$route.matched.slice(1)
    }
  }
}
</script>

<style lang="less" scoped></style>
